package org.javaymw.springboot.entity.blog;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import java.sql.Timestamp;

import org.javaymw.springboot.base.BizEntity;

/**
 * @Auther: zhaoxinguo
 * @Date: 2018/10/25 16:45
 * @Description: 博客评论回复表
 */
@TableName("bg_comment_reply")
public class BlogCommentReplyEntity extends BizEntity<BlogCommentReplyEntity> {
    /**
     * 被回复ID 可能是博客的ID、也可能是别人评论的ID 与回复类型相对应、1为博客评论，2为评论回复
     */
    @TableField("replyed_id")
    private Long replyedId;
    /**
     * 回复类型 1为博客评论，2为评论回复
     */
    @TableField("type")
    private String type;
    /**
     * 回复内容
     */
    @TableField("content")
    private String content;
    /**
     * 回复状态 是否删除 1删除，2不删除
     */
    @TableField("status")
    private String status;
    /**
     * 博客内容ID
     */
    @TableField("content_id")
    private Long contentId;
    /**
     * 评论回复人ID
     */
    @TableField("comment_reply_id")
    private Long commentReplyId;
    /**
     * 回复时间
     */
    @TableField("reply_time")
    private Timestamp replyTime;

    public Long getReplyedId() {
        return replyedId;
    }

    public void setReplyedId(Long replyedId) {
        this.replyedId = replyedId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getContentId() {
        return contentId;
    }

    public void setContentId(Long contentId) {
        this.contentId = contentId;
    }

    public Long getCommentReplyId() {
        return commentReplyId;
    }

    public void setCommentReplyId(Long commentReplyId) {
        this.commentReplyId = commentReplyId;
    }

    public Timestamp getReplyTime() {
        return replyTime;
    }

    public void setReplyTime(Timestamp replyTime) {
        this.replyTime = replyTime;
    }
}
